import request from '@/utils/request'

// 查询兑换平台用户账号列表
export function listExchange_platform_user(query) {
  return request({
    url: '/system/exchange_platform_user/list',
    method: 'get',
    params: query
  })
}

// 查询兑换平台用户账号详细
export function getExchange_platform_user(id) {
  return request({
    url: '/system/exchange_platform_user/' + id,
    method: 'get'
  })
}

// 新增兑换平台用户账号
export function addExchange_platform_user(data) {
  return request({
    url: '/system/exchange_platform_user',
    method: 'post',
    data: data
  })
}

// 修改兑换平台用户账号
export function updateExchange_platform_user(data) {
  return request({
    url: '/system/exchange_platform_user',
    method: 'put',
    data: data
  })
}

// 删除兑换平台用户账号
export function delExchange_platform_user(id) {
  return request({
    url: '/system/exchange_platform_user/' + id,
    method: 'delete'
  })
}
